/* 蒙层样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色蒙层 */
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
    /* z-index: 1000; */
    /* opacity: 0; */
    visibility: hidden;
    /* transition: opacity 0.3s, visibility 0.3s; */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    min-width: 500px;
    width: 90%;
    /* display: flex; */
    /* flex-direction: column; */

    /* transform: translateY(-20px);
    transition: transform 0.3s; */
}

.modal-content {
    padding: 20px;
    /* 确保内容区域不会过度扩展 */
    flex: 1;
    overflow-y: auto;
    width: 100%;
}

.modal-header {
    position: relative;
    /* 为绝对定位的子元素提供参考 */
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    width: 95%
}

.modal-footer {
    display: flex;
    width: 60%;
    margin: 0 auto;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-set-cargo-sure {
    background-color: #4CAF50;
    color: white;
}

.btn-set-cargo-sure:hover {
    background-color: #45a049;
}

.btn-set-cargo-close {
    background-color: #f1f1f1;
    color: #333;
}

.btn-set-cargo-close:hover {
    background-color: #ddd;
}

.modal-title {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.3s;
    display: flex;
    padding: 10px 15px;
}

hr {
    height: 1px;
    /* 设置高度 */
    background-color: #aaa;
    /* 背景色为灰色 */
    border: none;
    /* 移除默认边框 */
    margin-top: 15px;
    margin-bottom: 15px;
}

.modal-body {
    padding: 10px 20px;
}

.modal-body input {
    margin: 15px 15px 0 40px;
    padding: 5px 15px;
    font-size: 15px;
}


.create_transport_order .modal-body .logistics_info_table {
    display: table;
    border-collapse: collapse;
}

.create_transport_order .modal-body .logistics_info_table .logistics_info_table_row {
    display: table-row;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    max-width: 95%;
    border-bottom: 1px solid #cccccc;
}

.create_transport_order .modal-body .logistics_info_table .logistics_info_table_col {
    display: table-cell;
    padding: 5px 30px;
}


.create_transport_order .modal-body .logistics_plate_number {
    width: 80%;
    margin: 50px auto;
}

.create_transport_order .modal-body .logistics_plate_number label {
    padding: 10px 15px;
}

.create_transport_order .modal-body .logistics_plate_number select {
    padding: 10px 15px;
    width: 300px;
    font-size: 16px;
    text-align: center;
}

.get_logistics_transport .modal-body .logistics_transport_table {
    display: table;
    border-collapse: collapse;
}

.get_logistics_transport .modal-body .logistics_transport_table .logistics_transport_table_row {
    display: table-row;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    max-width: 95%;
    border-bottom: 1px solid #cccccc;
}

.get_logistics_transport .modal-body .logistics_transport_table .logistics_transport_table_col {
    display: table-cell;
    padding: 5px 30px;
}